package only.my.railgunys.artifact.imp;

import only.my.railgunys.artifact.ArtifactSuitEffect;
import only.my.railgunys.bean.Character;

public class Emblem implements ArtifactSuitEffect {
    @Override
    public Character setEffect2Piece(Character character) {
        character.addRecharge(20D);
        character.setSuit(character.getSuit()+"充能2");
        return character;
    }

    @Override
    public Character setEffect4Piece(Character character) {
        Double recharge = character.getRecharge();
        double increase = recharge * 0.25;
        character.addIncrease(Math.min(increase,75));
        character.setSuit("充能4");
        return character;
    }
}
